﻿using ERP.ERPSystem.HumanResources.Dto;
using ERP.Team.HumanResources;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace ERP.ERPSystem.HumanResources
{
    /// <summary>
    /// 入职审核应用服务接口
    /// </summary>
    public interface IOnboardingReviewServices: IApplicationService
    {
        /// <summary>
        /// 创建一条新的入职审核记录
        /// </summary>
        /// <param name="onboardingReviewDto">包含新审核信息的DTO</param>
        /// <returns>返回新记录的ID</returns>
        Task<int> AddAuditOnboardingReview(OnboardingReviewDto onboardingReviewDto);
        
        /// <summary>
        /// 根据条件查询审核列表 (此方法似乎返回所有匹配项，非分页)
        /// </summary>
        /// <param name="personName"> (筛选条件) 申请人姓名</param>
        /// <param name="interviewPeople"> (筛选条件) 面试官姓名</param>
        /// <returns>返回符合条件的入职审核实体列表</returns>
        Task<List<OnboardingReview>> ShowAuditOnboardingReview(string? personName, string? interviewPeople);
    }
}
